// router.js
import Vue from 'vue';
import VueRouter from 'vue-router';
import StockList from './components/analysis/stockList.vue'; // 示例页面组件
import UpLimit from './components/analysis/UpLimit.vue';
import DownLimit from './components/analysis/DownLimit.vue';
import AmountList from './components/analysis/AmountList.vue';
import VolList from './components/analysis/VolList.vue';
import indexVue from './components/analysis/AnalysisNum.vue';

Vue.use(VueRouter);

const routes = [
  { path: '/upLimit', component: UpLimit },
  { path: '/', component: StockList },
  { path: '/downLimit', component: DownLimit },
  { path: '/amountList', component: AmountList },
  { path: '/volList', component: VolList },
  { path: '/indexNum', component: indexVue },
];

const router = new VueRouter({
  mode: 'history',
  routes
});

export default router;